home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
ELECTRON
/
DATA
/
3086.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-02-09
|
4KB
|
94 lines
echo off
cls
cd\
if exist c:\command.com goto cdisk
echo ┌─────────────────────────────────────────────────────────────┐
echo │ This procedure will install the PHILIPS DATA DISK │
echo │ onto your hard disk. If you don't have a hard disk, you │
echo │ can use this DATA DISK in a diskette-drive. │
echo │ │
echo │ To proceed, press any key... │
echo └─────────────────────────────────────────────────────────────┘
pause
goto theend2
:cdisk
set comspec = c:\command.com
echo ┌─────────────────────────────────────────────────────────────┐
echo │ │
echo │ installation PHILIPS DATA DISK started... │
echo │ │
echo └─────────────────────────────────────────────────────────────┘
:inst1
if exist c:\PC\FET\*.* goto existdir
echo Making directory C:\PC
md c:\PC
echo Making directory C:\PC\FET
md c:\PC\FET
:inst2
if exist c:\pc.bat goto existpcbat
:inst3
cd c:\PC\FET
echo Copying files to C:\PC\FET
copy *.exe c:\PC\FET /v
copy images.* c:\PC\FET /v
copy *.pcf c:\PC\FET /v
copy p*.bat c:\ /v
echo ┌─────────────────────────────────────────────────────────────┐
echo │ │
echo │ installation completed. │
echo │ press PC FET to start │
echo │ │
echo └─────────────────────────────────────────────────────────────┘
if exist c:\pc.exe goto existpcexe
goto theend
:existdir
echo ┌─────────────────────────────────────────────────────────────┐
echo │ Warning: │
echo │ Directory FET already exists, press │
echo │ │
echo │ any key to continue the installation │
echo │ │
echo │ CTRL-C to abort the installation │
echo └─────────────────────────────────────────────────────────────┘
pause
goto inst2
:existpcbat
echo ┌─────────────────────────────────────────────────────────────┐
echo │ Warning: │
echo │ File pc.bat already exists on your harddisk, press │
echo │ │
echo │ any key to replace this file and continue │
echo │ │
echo │ CTRL-C to abort the installation │
echo └─────────────────────────────────────────────────────────────┘
pause
goto inst3
:existpcexe
echo ┌─────────────────────────────────────────────────────────────┐
echo │ Warning: │
echo │ File pc.exe exists in your root directory. Therefore │
echo │ it is not possible to use PHILIPS product data on │
echo │ your harddisk by pressing PC FET. │
echo │ Please rename, move or delete pc.exe in the root directory. │
echo └─────────────────────────────────────────────────────────────┘
c:
cd\
goto theend2
:theend
if exist c:\pc.exe goto existpcexe
c:
cd\
:theend2
echo on